//
//  SaHttpRequest.h
//  saas
//
//  Created by fangyibao on 2019/9/9.
//  Copyright © 2019 fangmao. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SaHttpRequest : NSObject
+(instancetype)shareRequest;
-(NSMutableURLRequest *)generateRequestWithUrlPath:(NSString *)urlPath
                                          useHttps:(BOOL)useHttps
                                            method:(NSString *)method
                                            params:(NSDictionary *)param;
- (NSMutableURLRequest *)generateUploadRequestWithUrl:(NSString *)urlPath method:(NSString *)method souceImg:(UIImage *)img params:(NSDictionary *)param;
- (NSMutableURLRequest *)generateUploadRequestWithUrl:(NSString *)urlPath method:(NSString *)method imgs:(NSArray *)imgs params:(NSDictionary *)param;

@end

NS_ASSUME_NONNULL_END
